//
//  LiveViewController+ImListener.m
//  TILLiveSDKShow
//
//  Created by wilderliao on 17/1/7.
//  Copyright © 2017年 Tencent. All rights reserved.
//

#import "LiveViewController+ImListener.h"

#import "UserViewManager.h"
@implementation LiveViewController (ImListener)

static __weak UIAlertController *_promptAlert = nil;


- (BOOL)isSendToSelf:(ILVLiveCustomMessage *)msg
{
    NSString *recvId = [[NSString alloc] initWithData:msg.data encoding:NSUTF8StringEncoding];
    NSString *selfId = [[ILiveLoginManager getInstance] getLoginId];
    
    return [recvId isEqualToString:selfId];
}


@end
